package com.fedex.longitude.domain;

public class NavigatorLeaf extends Navigator {
	private NavigatorNode _parent;
	private String _name;
	
	public NavigatorLeaf(NavigatorNode parent, String name){
		_parent = parent;
		_name = name;
	}
	
	@Override
	public String getName() {
		return _name;
	}

	public Navigator getParent() {
		return _parent;
	}
}
